<template>
  <div class="floor-right">
    <button-vue>保存草稿<i class="iconfont icon-xiajiantou"></i></button-vue>
    <button-vue class="two-button" @sub="sub">发布博客</button-vue>
  </div>
</template>

<script>
    import buttonVue from '@/components/Editor/Common/Button';
    import '@/assets/iconfont/iconfont.css';
export default {
    components:{
        buttonVue,
    },
    methods:{
        sub(){
            this.$emit('sub')
        }
    }
}
</script>

<style scoped>
.floor-right{
    display: flex;
}
.two-button>button{
    background: #fc5531;
    color: #fff;
}
</style>